﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Sunny.UI;

namespace UI
{
    public partial class FCustomMain : UIForm
    {

        
        public FCustomMain()
        {
            InitializeComponent();

           



        }

        private void uiButton1_Click(object sender, EventArgs e)
        {
            if (!ExistPage(1001))
            {
                AddPage(new FPage1());
            }

            SelectPage(1001);
        }

        private void uiButton2_Click(object sender, EventArgs e)
        {
            if (!ExistPage(1002))
            {
                AddPage(new FPage2());
            }

            SelectPage(1002);
        }

        private void tabPage1_Click(object sender, EventArgs e)
        {
            
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
        }
        private void uiButton3_Click(object sender, EventArgs e)
        {
           uiPipe1.Enabled = true;
        }
    }
}
